import Vue from 'vue'
import App from './App'
import './components/iocn/iconfont.css'

import publics from './components/publics.js'


//头部导航栏
import uniNavBar from './components/uni-nav-bar/uni-nav-bar.vue'
Vue.component('uniNavBar', uniNavBar);

//暂无数据
import notYet from './components/not-yet/notYet.vue'
Vue.component('notYet', notYet);
//api接口
import request from 'api/config.js'
Vue.prototype.$request = request

//u-view组件
// import uView from 'uview-ui';
// Vue.use(uView);

// 微信sdk
//#ifdef H5				
import jwx from '@/components/jwx'
Vue.prototype.$jwx = jwx
//#endif

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	...App
})
app.$mount()

//全局方法
Vue.prototype.now = function() {
	return publics.appTest()
}
//忽略 wx-open-launch-weapp
Vue.config.ignoredElements.push('wx-open-launch-weapp')
